package com.eshop.modules.shop.service.dto;

import java.util.Date;
import java.io.Serializable;

public class SystemStoreStaffDto implements Serializable
{
    private Integer id;
    private Long uid;
    private String avatar;
    private Integer storeId;
    private String staffName;
    private String phone;
    private Integer verifyStatus;
    private Integer status;
    private Date createTime;
    private String nickname;
    private String storeName;
    
    public Integer getId() {
        return this.id;
    }
    
    public Long getUid() {
        return this.uid;
    }
    
    public String getAvatar() {
        return this.avatar;
    }
    
    public Integer getStoreId() {
        return this.storeId;
    }
    
    public String getStaffName() {
        return this.staffName;
    }
    
    public String getPhone() {
        return this.phone;
    }
    
    public Integer getVerifyStatus() {
        return this.verifyStatus;
    }
    
    public Integer getStatus() {
        return this.status;
    }
    
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public String getNickname() {
        return this.nickname;
    }
    
    public String getStoreName() {
        return this.storeName;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setUid(final Long uid) {
        this.uid = uid;
    }
    
    public void setAvatar(final String avatar) {
        this.avatar = avatar;
    }
    
    public void setStoreId(final Integer storeId) {
        this.storeId = storeId;
    }
    
    public void setStaffName(final String staffName) {
        this.staffName = staffName;
    }
    
    public void setPhone(final String phone) {
        this.phone = phone;
    }
    
    public void setVerifyStatus(final Integer verifyStatus) {
        this.verifyStatus = verifyStatus;
    }
    
    public void setStatus(final Integer status) {
        this.status = status;
    }
    
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
    
    public void setNickname(final String nickname) {
        this.nickname = nickname;
    }
    
    public void setStoreName(final String storeName) {
        this.storeName = storeName;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SystemStoreStaffDto)) {
            return false;
        }
        final SystemStoreStaffDto other = (SystemStoreStaffDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0102: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0102;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$storeId = this.getStoreId();
        final Object other$storeId = other.getStoreId();
        Label_0139: {
            if (this$storeId == null) {
                if (other$storeId == null) {
                    break Label_0139;
                }
            }
            else if (this$storeId.equals(other$storeId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$verifyStatus = this.getVerifyStatus();
        final Object other$verifyStatus = other.getVerifyStatus();
        Label_0176: {
            if (this$verifyStatus == null) {
                if (other$verifyStatus == null) {
                    break Label_0176;
                }
            }
            else if (this$verifyStatus.equals(other$verifyStatus)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0213: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0213;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$avatar = this.getAvatar();
        final Object other$avatar = other.getAvatar();
        Label_0250: {
            if (this$avatar == null) {
                if (other$avatar == null) {
                    break Label_0250;
                }
            }
            else if (this$avatar.equals(other$avatar)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$staffName = this.getStaffName();
        final Object other$staffName = other.getStaffName();
        Label_0287: {
            if (this$staffName == null) {
                if (other$staffName == null) {
                    break Label_0287;
                }
            }
            else if (this$staffName.equals(other$staffName)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$phone = this.getPhone();
        final Object other$phone = other.getPhone();
        Label_0324: {
            if (this$phone == null) {
                if (other$phone == null) {
                    break Label_0324;
                }
            }
            else if (this$phone.equals(other$phone)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0361: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0361;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$nickname = this.getNickname();
        final Object other$nickname = other.getNickname();
        Label_0398: {
            if (this$nickname == null) {
                if (other$nickname == null) {
                    break Label_0398;
                }
            }
            else if (this$nickname.equals(other$nickname)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$storeName = this.getStoreName();
        final Object other$storeName = other.getStoreName();
        if (this$storeName == null) {
            if (other$storeName == null) {
                return true;
            }
        }
        else if (this$storeName.equals(other$storeName)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof SystemStoreStaffDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $storeId = this.getStoreId();
        result = result * 59 + (($storeId == null) ? 43 : $storeId.hashCode());
        final Object $verifyStatus = this.getVerifyStatus();
        result = result * 59 + (($verifyStatus == null) ? 43 : $verifyStatus.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $avatar = this.getAvatar();
        result = result * 59 + (($avatar == null) ? 43 : $avatar.hashCode());
        final Object $staffName = this.getStaffName();
        result = result * 59 + (($staffName == null) ? 43 : $staffName.hashCode());
        final Object $phone = this.getPhone();
        result = result * 59 + (($phone == null) ? 43 : $phone.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $nickname = this.getNickname();
        result = result * 59 + (($nickname == null) ? 43 : $nickname.hashCode());
        final Object $storeName = this.getStoreName();
        result = result * 59 + (($storeName == null) ? 43 : $storeName.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "SystemStoreStaffDto(id=" + this.getId() + ", uid=" + this.getUid() + ", avatar=" + this.getAvatar() + ", storeId=" + this.getStoreId() + ", staffName=" + this.getStaffName() + ", phone=" + this.getPhone() + ", verifyStatus=" + this.getVerifyStatus() + ", status=" + this.getStatus() + ", createTime=" + this.getCreateTime() + ", nickname=" + this.getNickname() + ", storeName=" + this.getStoreName() + ")";
    }
}
